/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mercury.Entity.SystemModels;

namespace Mercury.Entity.DomainModels
{
    [Entity(TableCnName = "补料单明细",TableName = "ReplenishmentListDetails")]
    public partial class ReplenishmentListDetails:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Id { get; set; }

       /// <summary>
       ///补料单号(id)
       /// </summary>
       [Display(Name ="补料单号(id)")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ReplenishmentListId { get; set; }

       /// <summary>
       ///补料类型
       /// </summary>
       [Display(Name ="补料类型")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IngredientsType { get; set; }

       /// <summary>
       ///物料（产品）ID
       /// </summary>
       [Display(Name ="物料（产品）ID")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string MaterialId { get; set; }

       /// <summary>
       ///物料（产品）名称
       /// </summary>
       [Display(Name ="物料（产品）名称")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string MaterialName { get; set; }

       /// <summary>
       ///1=立库；2=配料台；3、配料备料
       /// </summary>
       [Display(Name ="1=立库；2=配料台；3、配料备料")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       public string Source { get; set; }

       /// <summary>
       ///批次号
       /// </summary>
       [Display(Name ="批次号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string BatchNumber { get; set; }

       /// <summary>
       ///需求重量
       /// </summary>
       [Display(Name ="需求重量")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string RequiredWeight { get; set; }

       /// <summary>
       ///投料重量（实际）
       /// </summary>
       [Display(Name ="投料重量（实际）")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ActualWeight { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? State { get; set; }

       /// <summary>
       ///料箱号
       /// </summary>
       [Display(Name ="料箱号")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       public string MaterialBoxNo { get; set; }

       
    }
}